package com.example.prison.service;

import com.example.prison.entity.AlarmRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【alarm_record】的数据库操作Service
* @createDate 2023-05-29 17:22:08
*/
public interface AlarmRecordService extends IService<AlarmRecord> {

    PageInfo<AlarmRecord> get(int pageNumber, int pageSize);

    int add(AlarmRecord record);

    void delete(Integer[] ids);

    int updateRecord(Integer id, String processPeople, String processTime);

    int updatePushRecord(Integer id, String processPeople);

    int handlePushAlarmRecord(Integer id, String processPeople);

    AlarmRecord getById(Integer id);

    PageInfo<AlarmRecord> getByNumber(int pageNumber, int pageSize, String number);

    PageInfo<AlarmRecord> getByTime(int pageNumber, int pageSize, String beginTime, String endTime);

    PageInfo<AlarmRecord> getByLevel(int pageNumber, int pageSize, String level);

    PageInfo<AlarmRecord> getByStatus(int pageNumber, int pageSize, String status);

}
